package net.tailfish.api.base.response;

import java.io.Serializable;

/**
 * @PackageName net.tailfish.api.base.response
 * @ClassName SnowResponse
 * @Author tailFish
 * @Date Created in 16:36 2021/5/28
 * @Description 统一响应类
 */
public class SnowResponse<T> implements Serializable {
    private static final long serialVersionUID = -816582706237727567L;

    /**
     * 响应码
     */
    private String code;

    /**
     * 响应说明
     */
    private String msg;

    /**
     * 响应体
     */
    private T body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }
}
